class Event < ActiveRecord::Base
  belongs_to :post
  validates_uniqueness_of :date, :scope => :post_id
  
end
